#ifndef __GLOBAL_HEAD_H__
#define __GLOBAL_HEAD_H__

typedef struct TNode_ {
    int val;
    struct TNode_ *left;
    struct TNode_ *right;
    struct TNode_ *parent;
} TNODE;

typedef struct Node_ {
    int val;
    struct Node_ *next;

    Node_ (int x) {
        val = x;
        next = NULL;
    };

    Node_ () {
        val = 0;
        next = NULL;
    };
} NODE;

#endif

